package com.mousycoder.mysql.persist.mapper.custom;

import com.mousycoder.mysql.model.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * TODO
 *
 * @author mousycoder
 * @version 1.0
 * @date 2022/3/23 2:15 PM
 */
@Mapper
public interface CustomUserMapper {

    User selectByNameAndcompany(String name, String company);

    void batchInsert(@Param("userList") List<User> userList);
}
